package com.teamall.web.sys.db.dao.mapper;

import com.teamall.web.sys.db.arg.AidOrganArg;
import com.teamall.web.sys.db.po.AidOrganPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface IAidOrganMapper {
    
    List<Integer> countByArg(AidOrganArg arg);

    List<AidOrganPO> selectByArg(AidOrganArg arg);

    AidOrganPO selectByPrimaryKey(Integer id);

    List<AidOrganPO> selectByArgAndPage(AidOrganArg arg, RowBounds rowBound);

    int insert(AidOrganPO record);

    int insertSelective(AidOrganPO record);

    int insertBatch(@Param("list") List<AidOrganPO> records);

    int updateByArgSelective(@Param("record") AidOrganPO record,
            @Param("arg") AidOrganArg arg);

    int updateByArg(@Param("record") AidOrganPO record,
            @Param("arg") AidOrganArg arg);

    int updateByPrimaryKeySelective(AidOrganPO record);

    int updateByPrimaryKey(AidOrganPO record);
    
    int deleteByArg(AidOrganArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}